ESCAPEKEY()
This command will return an integer value of one if the escape key is being pressed, otherwise zero is returned.

SYNTAX
Return Value=ESCAPEKEY()

RELATED INFO
Input Commands
Glossary

EXAMPLE
Keyboard Control